package com.framework.pojo;

import java.io.Serializable;

/**
 * 权限资源关联表
 * @author Administrator
 */
public class AuthorityResource implements Serializable {

	private static final long serialVersionUID = -393579096373417977L;
	
	private String id;						// 关联编号
	private Authority authority;			// 权限编号
	private Resource resource;				// 资源编号
	private int enabled = 0;				// 是否启用.  0: 禁用; 1: 正常
	
	public AuthorityResource() {
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Authority getAuthority() {
		return authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}

	public Resource getResource() {
		return resource;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}
}
